package cn.com.freelibra.forum.dao;

import cn.com.freelibra.forum.po.SectionDetail;
import cn.com.freelibra.forum.po.SectionDetailExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import tk.mybatis.mapper.common.Mapper;

public interface SectionDetailMapper extends Mapper<SectionDetail> {
    long countByEntity(SectionDetailExample example);

    int deleteByEntity(SectionDetailExample example);

    List<SectionDetail> selectByEntityWithBLOBs(SectionDetailExample example);

    List<SectionDetail> selectByEntity(SectionDetailExample example);

    int updateByEntitySelective(@Param("record") SectionDetail record, @Param("example") SectionDetailExample example);

    int updateByvWithBLOBs(@Param("record") SectionDetail record, @Param("example") SectionDetailExample example);

    int updateByEntity(@Param("record") SectionDetail record, @Param("example") SectionDetailExample example);
    
    Page<Map<String, Object>> selectSectionDetailJoinUserList(@Param("sectionId")Long sectionId);
}